package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysUserRole extends TableDef {

    public static final TSysUserRole sys_user_role = new TSysUserRole("sys_user_role");

    public QueryColumn user_id = new QueryColumn(this, "user_id");
    public QueryColumn role_id = new QueryColumn(this, "role_id");

    public QueryColumn[] default_columns = new QueryColumn[]{user_id, role_id};
    public QueryColumn[] all_columns = new QueryColumn[]{user_id, role_id};

    public TSysUserRole(String tableName) {
        super(tableName);
    }
}
